import * as home from './action-type';

// 保存表单数据
export const saveFormData = (value) => {
    return {
        type: home.SAVEFORMDATA,
        value,
    }
}

// 保存图片地址
export const saveImg = path => {
    return {
        type: home.SAVEIMG,
        path,
    }
}

// 保存图片地址
export const clearData = () => {
    return {
        type: home.CLEARDATA,
    }
}
export const changeData = (value) => {
    return {
        type: home.CHANGEDATA,
        value
    }
}